<?php
namespace app\api\validate;

use think\Validate;

class Organ extends Validate
{
	protected $rule =   [
        'content'       => 'require',
        'company_name'       => 'require',
        'country_name'       => 'require',
        'business'       => 'require',
        'card_up'       => 'require',
        'card_down'       => 'require',
	];
    
    protected $message  =   [
        'content.require' => '描述必填',
        'company_name.require' => '公司名称必填',
        'country_name.require' => '国家必填',
        'business.require' => '营业执照必传',
        'card_up.require' => '法人身份证正面必传',
        'card_down.require' => '法人身份证反面必传',
    ];
    protected $scene = [
    	'add'		=> ['content','company_name','country_name','business','card_up','card_down'],    	
    ];

}